// PropertyTextWindow.h: interface for the PropertyTextWindow class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROPERTYTEXTWINDOW_H__9409F727_8087_4000_A472_B2FF6B19F819__INCLUDED_)
#define AFX_PROPERTYTEXTWINDOW_H__9409F727_8087_4000_A472_B2FF6B19F819__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PropertySubWindow.h"

namespace pa
{	
	class DllExport PropertyTextWindow : public PropertySubWindow  
	{

		class CEditEX : public CEdit
		{
		public:
			CEditEX();
			virtual ~CEditEX();
		public:
			CustomVariable* m_pVar;
			PropertyTextWindow* m_pWnd;

		protected:

		//{{AFX_MSG(CEditEX)
		afx_msg void OnChange();
		//}}AFX_MSG
		
		DECLARE_MESSAGE_MAP()


		};

	public:
		PropertyTextWindow();
		virtual ~PropertyTextWindow();

	public:
	   virtual void UpdatePropertyData(BOOL bState = TRUE);
	   virtual BOOL Create(CWnd* pParent, UINT nID);
	   virtual void SetFont(CFont* pFont);

	private:
		CEditEX m_Edit;

	};
};
#endif // !defined(AFX_PROPERTYTEXTWINDOW_H__9409F727_8087_4000_A472_B2FF6B19F819__INCLUDED_)
